I think - for the polymer dialogs - you'll also want to focus on `primary`. Perhaps something like:

    focusElementByQuery(".btn-default");
    focusElementByQuery("spark-button.primary");