How does one create one's own diacritics? To give a concrete example, I want to be able to typeset something that looks like

# ä

but has three dots above the letter. I'm looking for an answer that looks comparably nice to existing diacritics, if possible.

$\dddot{\mathbf{a}}\quad\ddddot{\mathbf{a}}$