added code to get the expense data and open the edit expense dialog when edit button is presed