refactoring
improve dialog (issue #5)