Make sure to dismiss input dialog when submitting search