working on #218: improvements on dispose of the dialogue

1. avoid NPE on dispose when no landparcel is added
2. enable dispose via default window management (X-Button on Windows)