adding pagecontainer event and datepicker widget