add layer dialog almost done