add a bare and simple preferences dialog