change popup menu to popup window - anhnt