Problem with modal window close

I open a modal window from a button using a sc_redir.
The only way to close the modal is using the EXIT button. However the EXIT has a strange behavior and displays the OPEN / CREATE project window, inside the modal. After that no other app will open

Anyone else have that behavior or have a solution