Allow windows path chars in addlayer modal pattern and update tests.