Added state of subject & close button for dialogs