Added modal to interval demand test. modal should be moved into the main
controller.