added removeFrame method to the dashboardapi that updates local storage object and removes the widget, by appId