modal oneline implemented