- refactored section of code in makeSubordinateDialog method to subordinate.js(new method called replaceIdEnding)