encapsulate addWidget/removeWidget into dashboard directive