Trying to add a custom view for a dialog, still have minor errors