prevent slider from deactivationg on modal dismissal from edit button