Pass event to delegate on editor buttons to enable custom features