Don't close dialog on input errors