+ if (MODEST_IS_MSG_EDIT_WINDOW (current_top) &&
+ !modest_msg_edit_window_is_modified (MODEST_MSG_EDIT_WINDOW (current_top))) {
+ gboolean retval;
+
+ g_signal_emit_by_name (G_OBJECT (current_top), "delete-event", NULL, &retval);
+ current_top = (ModestWindow *) hildon_window_stack_peek (stack);
+ }
+
+ if (MODEST_IS_MSG_EDIT_WINDOW (current_top) ||