Removes onclick events from #modal-window