fix modal prematurely fading out. Set focus on passcode input upon showing up