adding publish widget