popups: fix depreciation warnings

Signed-off-by: Jerome Flesch <jflesch@wyplay.com>