fixed problems with popup windows dropdowns and fragment dialogs,
fixed issues with activity rotation