Fixed the long modal issue