Error message box is no longer shown while committing