Allow closing story detail dialogs by clicking outside of them