use popup instead of dialog widget