Dialog, fixed another (stupid) NPE...