Implemented Dialog Box Template