Deactivate modal close