One possibility is to have the icon change when you click it.
An example might be like the Windows recycle bin showing two different icons depending on if there is information in the recycle bin or not,
That way the icon will always be visible and available to be clicked.
Alternatively, you could hide/show the icon ID, or Enable/disable it.

You could also hav ethe text display in the dialog, rather than a window.

All of these options will make a change in the dialog display.