Modal when cant del phase and some fixes