Fix for dual submit issue in setRole for admin module.