Modal code in an external html resource