building a view for the modal workflows