some more info - I tried using ontimeselect/ed functions to aply the values and close the calender but there are to problems. Firstly these events are fired only if time is changed. If I go to another day without changing the time and press ok nothing happens. This should work so that when Ok on time selector menu is pressed event is fired.
thanks for the pointer