Fixed a bug where the cancel button on the selection modal was not working.