added the UI-Modal test functionality