fix force public when share modal is displayed