Add Delete element functionality