hide query complete when press ESC