add prompt dialog and complete publish notice