added support fothe 'ugly popup' system :)