[#2] commit: Implement the action 'commit'
fixed a few ui bugs
Correctly handle dialog result
Added graphical user interface to checkout script