Created by: erstens
if there are multiple modal, then when you close only one modal, remove the modal-open style