Implements modal window dialog with presentation