"print" button didn't work when not showing popup.