added solution copy and modal boxes