add dialog and GUI delete and edit functionalities