Added triggers on delete from tabs. Not well-tested but probably work good.