Adding listeners for add and edit buttons