Modal added but edit not displayed with right layout