Test dialog modal is closed by escape key with select focused