return promise if window exists when opening itchpad window