Implementing dependencies in dock ui