cleanup custom page widget