Where any unsafe building or structure poses an immediate danger to the health, safety, or general welfare of any person or persons and the owner fails to remedy the situation in a reasonable time after notice to do so, the municipality may summarily repair or demolish and remove such building or structure.