[ProductManagement] Replace all window.alert() & window.confirm() + Checkstyle