updated with new modal docs