fixed crush on rotation change when displaying action dialog