Trouble adding more than two dependencies

Trouble adding more than two dependencies

I have a task that has more than two dependencies. When I go to click on Add Dependency, the pop-up box disappears as my mouse moves to wards the 'Add Dependency' link.

Help please.