Move error message div to modal