remove modal relative path