added functionality for modal overlay to use with room policies and amenities.