Fix publish modal