more updates to publish modal