basic dialog and save(As) functionality

also just override ace's main in bower.json instead of doing weird
things to it's local .bower.json