added autocenter option to autocenter dialogues