AlertDialog changes to accommodate different types of views