Schedule tree reordering after dom operations

Prevent:
Uncaught TypeError: Cannot read property 'options' of undefined