Adding/changing interface as a dialog after clicking on table item