Fixed modal bug because jquery was loaded twice