added message modals on fail