show dialog on device, replace fragment on phone.