Make window grab focus
Fixed dialog box