QA: Ensure that we wait for editor close button to appear

Before we try to click on it.

Change-Id: I7f63a6ae41f711c390ba6d4418952598b1dcf48d
Merge "QA: Ensure that we wait for editor close button to appear"