add confirmation alert when creating new images