popup implementation in all masters