moved logic to decide whether to open the configuration dialog to the
logic class (was in startup listener)