modal correct init