Move the redmine modal extensions to lib/ using module patch.