Added confirmation window, buttons and slots