fix(loading): Prevent clicks on modal views when loading is active. Closes #1720