Implemented add and edit modes only for ItemsTable