#8 added commit Dialog