Switch back to main frame after test_dialer

This does not fail on CI but may fail in other environments. Marionette does not handle the failure thus putting this workaround in.
This is the same workaround as in test_call_contact.py.