If we want to change this in the future and add more modal options, then the intuitive thing to do would be to add more if statements. It might get really complicated in the future and hard to read.

Maybe refactor and try to make the blocks inside of the if statements smaller?