Is it macOS or the monitor not being responsive?
Also, if it's slow your laptop might be too old to properly support 4K or you might have misconfigured something.
At least Dell supports their hardware: have you tried updating the monitor firmware or submitting a report?