Setting tabs using the dialogue box