styling updates to smooth transition from modal dialog to main page.