Modal windows exercise

Step 1: Click the button below to open modal window.

Step 2: Close the separate window that should open

Soon after the separate window is closed the button below should be enabled.
Step 3: Click the button below to open modal window.