added transitions.lua and finished up dialog class with callbacks and proper drawOrder