added auth dialog support