gallery edit save button hide show