Feature Request - Option to keep filament loaded in AMS

For the ‘no unloading’ commenting out some of the lines does the trick.
Isn’t there some g-code that’s responsible for the purge?

I found relevant g-code in How to stop purging when only one colour is being used - #10 by pauldawkins

Together the two g-code changes, saved as a separate printer profile seem to provide this feature easy to access.