Moved modals into a plugin. Combined with message box.