Feature/flexible modal panel