Minor bug fix in plot dialog.