Added error modal and simple form behavior