Show / Hide works only once
I have a problem with the show / hide events on button clicks. The situation is the following: I work on a web application and have a link which should show an overlay element when clicked. The overlay element itself has a close button that hides the overlay element.
When I start the simulation and click the link, the overlay element is shown and when I click the close button in it, it is hidden. If I now click the link again the overlay element won't appear anymore. If I refresh the screen by switching to another one and then back it works again, but I cannot show / hide the overlay element multiple times in sequence, it only works once.
The overlay element is a master element, with 'hide element' set true for the screen but not in general. The events I use for show / hide are 'on click' events - tried on toggle as well but got the same behaviour.
Has anyone experienced this behaviour as well or knows what could be the cause for it?