alert for window location