implement modal outline, need to refine the format