popup: catch exception only from createWidget() while creating close button