Added generic confirmation modal functionalityand translation mechanism