showErrorModal manages md-show state properly now