added option optsPopup