Completed Own dialog as well as Inbuilt dialog