remainer work from publish modal