add focus for appearing window