Set due date label align and modal direction