Change modal to inline widget