Using a dialog instead of the add activity.