enable deletion of pages via ajax dialog