refactored the button directive and modal into the scope of the listController, deleted unneeded files. should fix bug requiring refresh to see changes.