modal now uses model events to trigger show modal based on model attribute changes. re-arranged model collection and view instatiation to be in the base page ready for the use of th controller