fixed modal border colour
(hopefully) made make tasks more reliable