REACH-119 Ask about saving unsaved changes before close a tab in NWK

It would be better to merge [this PR](https://github.com/pboyer/flood/pull/99) first