add modal method (resize)