Add publish button to done dialog

Fix #269