Invalid Error Displays Twice.r=rbillings

Used the style="display:none" initially in the DOM if the messages.tags contains "warning" and "modal".
Do we really need the nested `if`? Can we not just hide the notification if `modal` is present? Will there be cases where `modal` exists without `warning`?