update markup to work with modal directive updates