using the center content area to place the dialogs instead of using the jquery modals - works better on mobile browsers