Message Box Implementation

Implemented a custom message box function as a workaround to Modo's
standard dialogs failing.