re-worked 'focusin.modal' event handler