displaying successfully on both modals