Fix the revert button on the tree edit views for FF and IE

Fixes issue #293