Getting modal window by title

This uses white API to get the modal window by title. But since white
has a bug where sometimes it won't find the window by title. We are
falling back to getting all modal windows and matching title against it