A level crossing will be closed at Wool in Dorset for five days for maintenance works