I am opening popup modal with below JavaScript code, which is working correctly. But is it possible that when modal dialog opens, cursor or focus should be on modal dialog rather than on parent page.
Please note that modal dialog have only text
javascript:OpenPopUpPage("../Pages/XXX.aspx", null, Width, Height)