(#13) - Hitting :w a little bit slower each time

Cleanup Dialog file so that we bind event listeners to $inp only once and use them forever. This also created the init method for Dialog which must be initialized only after main.js has done its job of injecting the template.

Also: remove double file save. (works for me)