This commit fixes the UX issue that currently sets the cancel button to a primary button. Changelog: fixed