Close the dialpad when calling a user, to switch cleanly to the conversation view

We already close the panel when we click on a user, so we should do the same for the dialpad view.

It appears window.close works fine here.