lots more custom module work to enable modal frames and popups of the availability calendar