Add error message warning that the application is unavailable
If the user does not own a note redirect to the notes listing page
Add callback to save note method
Close dialogue window using escape key