Error checking and dialog fixes

* Blank notes cannot be saved
* Dialog now pops up immediately when sharing a note
* Better process feedback