Seems that what you want is to create a form with a specific modality. The sliding is done in the new forms event loop, and the main form will not continue execution until it has been signalled by the new form that it has been closed. This also means that the main forms event loop isn't stopped.
Bookmarks