made cursor go into text area when modal is opened