function openPopup() {
document.querySelector('.textboxClass').blur(); // Replace 'textboxClass' with the actual Class of your textbox
}
setTimeout(openPopup,100);
you can write this code in html snippet inside javascript section and put this snippet in popup page.
May be this will help you.