redirecting custom dialog is added