added getData function for incexp dialog