Moved usage of duplicate method closestModelComponent in
EditPanelMouseAdapter to ModelComponent.Util.

Removed redundant method closestModelComponent in EditPanelMouseAdapter.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>