replace bootstrap modals by message-library messages