make dnc appear in frontmost on macos

Yes, this applescript is horrible. But it is the only way we could get it to work :(