Show validation message before publishing