made dependent destroy in page model for elements.