Escape key closes share dialog