no modal is triggered when creating gallery