Made dialog respect fdow of week setting