Close modals on escape

Closes #3016

- Disconnect modal outlet on escape key in closePopups action handler
Merge pull request #3053 from jgable/fix3016

Close modals on escape