added API dialog