Translated and updated for Solita Dojo
Show confirmation message only if submit succeeds, else show error