style(modal): change to dot notation

Closes #2634