close #4 with confirmation dialog
code style on #4