Closes modal dialog now