load modal before data