magazines – Add a dedication to a paper

A paper of mine (a relatively young mathematician) was accepted into a good journal, and I was considering adding a dedication to the memory of a mathematician in my area who passed away, and whose work I greatly admire. The subject of the article is closely related to the work of said mathematician, however, I have never met them personally or communicated with them in any way. Would it be appropriate for me to add such dedication, or is this usually reserved for more established mathematicians, or mathematicians who know each other well? Do journals usually have a problem with adding dedications after the referral process? I'm guessing, no, but I'm asking anyway.

Thank you.