stop on close modal