fix dialog owner issue and delete unused resource
add certs configuration