Does a modal gui is currently being run ?
Get and stop the current modal.
Update and render the gui that aren't modals while the modal gui is active.
Set a gui as a modal gui. ___ It will have exclusive access to events and be rendered above all other guis.
Immediately stops the currently running modal gui.
(c) Enalye 2017