Adding edit dashboard widget functionalities