Clicking on a task in inbox pops up a modal dialog task

We have a tiny task that doesn’t really warrant going to a whole new screen. Is it possible to just pop up a modal dialog with the task data inside and still benefit from built-in functionality such as task locking (so two people can’t open the same task)?