Started to implement the new dialog plot window for 2d plots.