Add dialog when pending changes and existing (related to #15)