replaced hacky dialog with Cinder.Dialog, added right pane
lineendings normalization