Set native look and feel
Check if popup is present before calling methods on it