Remove modal backdrop if automatic lock is triggered